#include "Ray.h"


Ray::Ray(const Point3f &origin, const Vector3f &direction):
o(origin), d(direction)
{}

Point3f Ray::operator ()(float t)
{
	return o + d*t;
}
